<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改sys_email')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-email-edit" th:object="${sysEmail}">
            <h4 class="form-header h4">sys_email信息</h4>
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">邮件编号</label>
                <div class="col-sm-8">
                    <input name="id" th:field="*{id}"  class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">邮件名称：</label>
                <div class="col-sm-8">
                    <input name="emailName" th:field="*{emailName}" class="form-control" type="text" disabled>
                </div>
            </div>

            <div class="form-group">    
                <label class="col-sm-3 control-label">收件人：</label>
                <div class="col-sm-8">
                    <input name="inId" th:field="*{sysWzxUser.inName}" class="form-control" type="text" disabled>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">发件人：</label>
                <div class="col-sm-8">
                    <input name="outId" th:field="*{sysWzxUser.outName}" class="form-control" type="text" disabled>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">信件内容：</label>
                <div class="col-sm-8">
                    <textarea name="text" class="form-control" disabled>[[*{text}]]</textarea>
                </div>
            </div>
           <!-- <h4 class="form-header h4">人员信息信息</h4>
            <div class="row">
                <div class="col-sm-12">
                    <button type="button" class="btn btn-white btn-sm" onclick="addRow()"><i class="fa fa-plus"> 增加</i></button>
                    <button type="button" class="btn btn-white btn-sm" onclick="sub.delRow()"><i class="fa fa-minus"> 删除</i></button>
                    <div class="col-sm-12 select-table table-striped">
                        <table id="bootstrap-table"></table>
                    </div>
                </div>
            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/email";
        $("#form-email-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-email-edit').serialize());
            }
        }


    </script>
</body>
</html>